<?php
namespace Admin\Controller;

class ArticleController extends BackendController {

  public function test()
  {
    $a = new Tree();
    dump($a );
    exit;
  }

  public function articleIndex(){
    $this->_name = "article";
    $this->field="id,catid,title,keywords,description,createtime,updatetime";
    $this->getIndex();
  }

  public function articleSave()
  {
    $this->_name = "article";
    $this->save();
  }

  public function articleDel()
  {
    $this->_name = "article";
    $this->del();
  }
}
